// import BannerAdmin from "../views/BannerAdmin";
// import AdMember from "../components/banneradmin/AdMember";
// import AdNews from "../components/banneradmin/AdNews";
// import Login from "../components/banneradmin/Login";
// import AdProject from "../components/banneradmin/AdProject";
// import AdCompetition from "../components/banneradmin/Admien/AdCompetition";
// import AdCopyRights from "../components/banneradmin/Admien/AdCopyRights";
// import AdProjectAward from "../components/banneradmin/Admien/AdProjectAward";
// import AdHistory from "../components/banneradmin/Adaboat/AdHistory";
// import AdLearningDirection from "../components/banneradmin/Adaboat/AdLearningDirection";
// import AdSystem from "../components/banneradmin/Adaboat/AdSystem";
const BannerAdmin = () => import('../views/BannerAdmin')
const AdMember = () => import('../components/banneradmin/AdMember')
const AdNews = () => import('../components/banneradmin/AdNews')
const Login = () => import('../components/banneradmin/Login')
const AdProject = () => import('../components/banneradmin/AdProject')
const AdCompetition = () => import('../components/banneradmin/Admien/AdCompetition')
const AdCopyRights = () => import('../components/banneradmin/Admien/AdCopyRights')
const AdProjectAward = () => import('../components/banneradmin/Admien/AdProjectAward')
const AdHistory = () => import('../components/banneradmin/Adaboat/AdHistory')
const AdLearningDirection = () => import('../components/banneradmin/Adaboat/AdLearningDirection')
const AdSystem = () => import('../components/banneradmin/Adaboat/AdSystem')




const adminRouter=[
    {
        path: '/login',
        name: 'login',
        component: Login
    },
    {
        path: '/banneradmin',
        name: 'banneradmin',
        component: BannerAdmin,
        children: [
            {
                path: '',
                redirect: 'member'
            },
            {
                path: 'member',
                component: AdMember
            },
            {
                path: 'news',
                component: AdNews
            },
            {
                path: 'project',
                component: AdProject
            },
            {
                path: 'competition',
                component: AdCompetition
            },
            {
                path: 'copyrights',
                component: AdCopyRights
            },
            {
                path: 'projectaward',
                component: AdProjectAward
            },
            {
                path: 'history',
                component: AdHistory
            },
            {
                path: 'direction',
                component: AdLearningDirection
            },
            {
                path: 'system',
                component: AdSystem
            }
        ]
    },

]

export default adminRouter
